package org.cpoy.ei.session;

import org.cpoy.eims.entity.*;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityQuery;
import java.util.Arrays;

@Name("studentAdmissionList")
public class StudentAdmissionList extends EntityQuery<StudentAdmission> {

	private static final String EJBQL = "select studentAdmission from StudentAdmission studentAdmission";

	private static final String[] RESTRICTIONS = {};

	private StudentAdmission studentAdmission = new StudentAdmission();

	public StudentAdmissionList() {
		setEjbql(EJBQL);
		setRestrictionExpressionStrings(Arrays.asList(RESTRICTIONS));
		setMaxResults(25);
	}

	public StudentAdmission getStudentAdmission() {
		return studentAdmission;
	}
}
